package $2024_3_18.Demo1;

public class CarTest {
    public static void main(String[] args) {
        SmallCar scar = new SmallCar("保时捷");
        Truck truck = new Truck("奔驰");
        scar.drivingMethod();
        scar.trumpet();

        truck.drivingMethod();
        truck.trumpet();

    }
}
